#ifdef _DEBUG
# pragma comment(lib, "Elements-d.lib")
# pragma comment(lib, "Utils-d.lib")
# pragma comment(lib, "common-d.lib")
# pragma comment(lib, "NumberGenerator-d.lib")
#else
# pragma comment(lib, "Elements.lib")
# pragma comment(lib, "Utils.lib")
# pragma comment(lib, "common.lib")
# pragma comment(lib, "NumberGenerator.lib")
#endif
#include <iostream>
#include <time.h>
#include "config.h"
#include "Utils\AWindow.h"
#include "MainWindow.h"

using namespace SDL::UTILS;

int main(int _argc, char** _argv)
{
	srand((unsigned)time(NULL));

	Uint32 sdlflags = SDL_INIT_VIDEO;
	Uint32 videoflags = SDL_HWSURFACE | SDL_DOUBLEBUF;
	SDLConfig config(sdlflags, 800, 600, videoflags, "MyMyPsi");

	AWindow::InitLibs(config);
	MainWindow w;

	w.Init(config);
	return (w.Exec());
	return (0);
}
